#include"Heap.h"
void hpprint(HP* php)
{
	for (int i = 0; i < php->size; i++)
	{
		printf("%d ", php->a[i]);

	}
	printf("\n");
}


test1()
{
	HP hp;
	HeapInit(&hp);

	HeapPush(&hp, 6);


	HeapPush(&hp, 3);

	HeapPush(&hp, 5);
	HeapPush(&hp, 4);
	HeapPush(&hp, 1);
	hpprint(&hp);

	HeapSortBig2(&hp);

	hpprint(&hp);

}

int main()
{
	test1();
	return 0;
}